var valorAzul = parseInt(document.getElementById("azul").value);
var valorLaranja = parseInt(document.getElementById("laranja").value);
var valorCinza = parseInt(document.getElementById("cinza").value);

var pieData = [
		{
			value: valorLaranja,
			color:"#F38630"
		},
		{
			value: valorCinza,
			color: "#E0E4CC"
		},
		{
			value: valorAzul,
			color: "#69D2E7"
			}
		
		];

var myPie = new Chart(document.getElementById("canvas").getContext("2d")).Pie(pieData);






var barChartData = {
		labels : ["Segunda","Terca","Quarta","Quinta","Sexta","Sabado","Domingo"],
		datasets : [
			{
				fillColor : "rgba(220,220,220,0.5)",
				strokeColor : "rgba(220,220,220,1)",
				data : [65,59,90,81,56,55,40]
			},
			{
				fillColor : "rgba(151,187,205,0.5)",
				strokeColor : "rgba(151,187,205,1)",
				data : [28,48,40,19,96,27,100]
			}
		]
		
	}

var myLine = new Chart(document.getElementById("bar").getContext("2d")).Bar(barChartData);